//
//  XUTextView.m
//  新浪微博
//
//  Created by xuwenxin on 15-4-17.
//  Copyright (c) 2015年 xuwenxin. All rights reserved.
//

#import "XUTextView.h"

@implementation XUTextView

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
    }
    return self;
}


- (id)initWithCoder:(NSCoder *)aDecoder
{
    if (self = [super initWithCoder:aDecoder]) {
        self.content = [[UILabel alloc] init];
        self.content.frame = CGRectMake(5, 6, 10, 10);
        self.content.text = @"";
        [self.content sizeToFit];
        [self addSubview:self.content];
    }
    return self;
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
